package com.idlefish.flutterboost;

import com.idlefish.flutterboost.intef.ChooseMediaCallBack;

import java.util.Map;

public interface FlutterBoostDelegate {
    void pushNativeRoute(FlutterBoostRouteOptions options);
    void pushFlutterRoute(FlutterBoostRouteOptions options);
    default boolean popRoute(FlutterBoostRouteOptions options){
        return  false;
    }
    default void sendEventToNative(Map<String,Object> map){

    }

    default String getBaseParams(){
        return null;
    }
    void payMethod(FlutterBoostRouteOptions options);
    void webRouteMethod(FlutterBoostRouteOptions options);
    void closeFlutter();
    void refreshNotify(FlutterBoostRouteOptions options);
    void networkErrorCode(FlutterBoostRouteOptions options);
    void switchFunction();
    void chooseMedia(FlutterBoostRouteOptions options, ChooseMediaCallBack chooseMediaCallBack);


    default String getProfileData(){
        return null;
    }
}
